From faaf065ad80a6abf04b6e656e807963e61dddee3 Mon Sep 17 00:00:00 2001
From: Daniel Kolesa <daniel@octaforge.org>
Date: Mon, 14 Nov 2022 02:01:24 +0100
Subject: [PATCH] bsd install(1) compatibility

---
 lib/install-html.mk | 2 +-
 lib/install-man.mk  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/install-html.mk b/lib/install-html.mk
index 0ae4df9..0e4e42d 100644
--- a/lib/install-html.mk
+++ b/lib/install-html.mk
@@ -26,7 +26,7 @@ _htmldir_rmdir  := $(addsuffix -rmdir,$(wildcard $(_htmldir)/.))
 
 $(_htmlpages): $(_htmldir)/%: $(_HTMLDIR)/% | $$(@D)/.
 	$(info INSTALL	$@)
-	$(INSTALL_DATA) -T $< $@
+	$(INSTALL_DATA) $< $@
 
 $(_htmldirs): %/.: | $$(dir %). $(_htmldir)/.
 
diff --git a/lib/install-man.mk b/lib/install-man.mk
index e5b871b..47b0934 100644
--- a/lib/install-man.mk
+++ b/lib/install-man.mk
@@ -103,7 +103,7 @@ uninstall_manX   := $(foreach x,$(MAN_SECTIONS),uninstall-man$(x))
 
 $(_manpages): $(_mandir)/man%: $(MANDIR)/man% | $$(@D)/.
 	$(info INSTALL	$@)
-	$(INSTALL_DATA) -T $< $@
+	$(INSTALL_DATA) $< $@
 
 $(_mandirs): %/.: | $$(dir %). $(_mandir)/.
 
-- 
2.38.1

